<template>
  <div class="new-item-body">
    <headline>最新发布</headline>
    <item-list :list="list"></item-list>
  </div>
</template>

<script>
import itemList from "@/components/item-list";
import Headline from '../headline';

export default {
  props: {
    list: {
      type: Array,
      default: () => []
    }
  },
  components: {
    itemList, Headline
  }
}
</script>

<style lang="scss" scoped>
.new-item-body {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}
</style>